/**   
  * @Title: IResourcesService.java 
  * @package com.sysmanage.permissions.biz 
  * @Description: 
  * @author XXXX@163.com 
  * @date 2011-9-20 下午1:27:47 
  * @version V1.0   
  */

package com.sysmanage.permissions.service;

import java.util.List;
import java.util.Map;

import com.sysmanage.framework.service.ServiceInterface;
import com.sysmanage.permissions.model.Department;

/** 
 * @ClassName: IResourcesService 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author XXXX@163.com 
 * @date 2011-9-20 下午1:27:47 
 *  
 */
public interface IDepartmentService extends ServiceInterface<Department> {

	/** 
	  * @Title: getTree 
	  * @Description: 获取部门树 
	  * @param id 公司的id
	  * @return void
	  * @throws 
	  */
	public List<Map<String,Object>> getTree(String id);
	
	/** 
	  * @Title: getAll 
	  * @Description: 获取所有的部门
	  * @param @return
	  * @return List<Department>
	  * @throws 
	  */
	public List<Department> getAll(); 

}
